package service.impl;

import dao.PayrecordMapper;
import org.springframework.stereotype.Service;
import pojo.Page;
import pojo.Payrecord;
import pojo.Somain;
import service.PayrecordService;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName 刘星宇
 * @Description TODO
 * @date 2022/12/7 16:02
 * @Version 1.0
 */
@Service
public class PayrecordServiceImpl implements PayrecordService {
    @Resource
    PayrecordMapper payrecordMapper;


    @Override
    public int getPayrecordCount(Page<Payrecord> page,Payrecord payrecord) {
        return payrecordMapper.getPayrecordCount(page,payrecord);
    }

    @Override
    public List<Payrecord> getPayrecordByPage(Page<Payrecord> page, Payrecord payrecord) {
        return payrecordMapper.getPayrecordByPage(page, payrecord);
    }
}
